# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:       王景渊  
# Name:         12.14
# Description:
# Author:       dell
# Date:         2019/3/19
#-------------------------------------------------------------------------------
import calendar
import locale
cal = calendar.month(2017,1)
print(cal)
locale.setlocale(locale.LC_ALL,'zh_CN.UTF-8')
# 设置本地日期格式为中文UTF-8
cal = calendar.month(2017,1)
print(cal)
locale.setlocale(locale.LC_ALL,'')
# 输出2017的一整年的日历
print(calendar.calendar(2017))
